<template>
    <div class="page-login" :style="{height: heightObj}">
        <div class="login-main-content">
            <div class="content-top">
                {{title}}
            </div>
            <div class="content-body">
                <form action="">
                    <div class="form-group">
                        <span class="group-title">用户名</span>
                        <input class="group-input" type="text" v-model="formData.userName">
                    </div>
                    <div class="form-group">
                        <span class="group-title">密码</span>
                        <input class="group-input" type="password" v-model="formData.password">
                    </div>
                </form>
            </div>
            <div class="content-bottom">
                <a class="login-btn" href="javascript:void(0)" @click="login">登录</a>
            </div>
        </div>
    </div>
</template>
<style lang="less" src="./index.less"></style>
<script src="./index.js"></script>

